/**
 * @project lauwsys
 */
package com.chimoz.lauwsys.domain;

import java.io.Serializable;

/**
 * @author Christian Teguh
 * @created 28 Sep 2011 23.49.22
 */
public class Employee implements Serializable, Person, User {
	
	private static final long serialVersionUID = 1L;
	private String name;
	private String userName;
	private String password;
	private Role role;
	
	private Long id;
	private String code;
	private String desc;
	private String address;
	// TODO and much more from the employee form filling
	private Integer ctime;
	private Integer mtime;
	
	
	public Employee() {}

	public Employee(Long id) {
		this.id = id;
	}
	
	
	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getDesc() {
		return desc;
	}

	public void setDesc(String desc) {
		this.desc = desc;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public Integer getCtime() {
		return ctime;
	}

	public void setCtime(Integer ctime) {
		this.ctime = ctime;
	}

	public Integer getMtime() {
		return mtime;
	}

	public void setMtime(Integer mtime) {
		this.mtime = mtime;
	}



	public String getName() {
		return this.name;
	}
	
	public void setName(String name) {
		this.name = name;
	}

	public String getUserName() {
		return this.userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getPassword() {
		return this.password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public Role getRole() {
		return this.role;
	}

	public void setRole(Role role) {
		this.role = role;
	}


}
